Small refactor.
More of the same.
Fix a warning for trial build
Make sure input text field font is set correctly initially

Otherwise it will only be set when the first textDidChange: happens.
Merge pull request #374 into v3.0.1 omitting sandbox commit
Scripts honor destination.
Do WHO regardless of context. Fixes duplicates modes in process.
Parse CHANTYPES for isChannelName instead of relying on a predefined list.
Classic isChannelName matching is still used in some locations.
Properly protect macro arguments
This should fix most of those crashes when quitting

Hide window immediately when quitting.
Wait for all clients to call -disconnect before allowing the main loop to terminate.
Ignore all received data when terminating (since our window has been destroyed by then).
remove debug code