fix main window UI (2)
fix location UI and part of settings UI