Re-added preference dialog, check for updates on startup
Added OSX application menu