Resizing main window.
Basic tidying of some ui elements.