Fixed minimize bug (issue #23) and added application tray icon