Simplified checkbox logic.
Removed empty lines.
Made preferences only show on startup if no url and/or shortcut has been set.
Simplified call to new Window.