don't send messages if you are disconnected; also: minor refactorings
disconnect stuff (not guarantied to work)
removed unused class ProcessResult
log(): event type is now displayed before the message
ServerTimeoutHandler: don't check something that has already been removed