only a few minor clauses i see to edit firstly before i test it or the others do.
change your notice and msg events to make them silent.
notice becomes .notice msg becomes .msg
will leave my comments at that for the moment