client when handling server rejection.
tray icon to the client and server that gives status feedback to the user and allows the user to kill the app.
lib/arch. This should make porting easier. Will probably continue to refactor a little more, moving platform dependent event handling stuff into lib/platform.