Sending uncaught exception logger to ui factory
Sending uncaught exception logger to kouchat frame, to avoid static lookup and casting
Moving some annoying flush and close logic from finally block to io tools
Moving listener logic out of constructor of swing error handler, and adding invokeLater wrapper to uitools for easier testing
Moving init of error handler into uifactory
Adding start method to kouchat frame for easier testing. And removing final from error handler to make it mockable
Moves activation of the system tray to an activate method, for use in the kouchat frame start method. Tests can now avoid activating an actual system tray
Adding constructor tests of kouchat frame