Beginnings of GUI: login and setting windows, with autosync toggle