Add License, Settings

Implements the settings menu, moves port selection
into that menu. Adds licensing headers.
Fix Settings Menu Bugs

- Fixes bugs with settings options
- Formats MainActivity a bit better and adds some comments in.