[cppmyth] Redefine macros

Check pointer is not NULL before deleting
[cppmyth] Event handler announce STOPPED

Event handler announces new message 'STOPPED' on thread stop instead 'DISCONNECTED'
which is reserved to announce connection lost.