Added a tray icon.
Added logic that closes the application when one right-clicks the tray icon.