Made preferences window open on double click.
Added context menu to tray icon.
Removed double click.
Added exit menu item.