Move handlers to _init() call.
Code cleanup.

Message handlers now check if the message was relevant to the performed
command.
Add quit command.
Add part command.