Settings improvements
1. Re-enabled preferences dialog
2. Added user agent preference
3. Preferences window currently reloads the web view upon close (suitable solution for now)