Fixed window size and repositioned and resized UI.
Added controller and synchronized UI elements.