TONS of fixes

 Added modals
Connecting to networks works, kinda.
Creates a config file for networks, and checks for that before writing
a new one (useful later for saving keys)
Menus gray out if you're in the other one
Tons of other bugfixes