fix window's size
save settings (should use a separate classs for this, but meh.)
fix some NRE and some options getting reset.
refactor Gui.Load a bit.