Heavy visual refactoring

Fixed issue: Window had invalid bounds if taskbar not on bottom
Fixed issue: Window had invalid bounds if not displayed with 96 DPI
Fixed issue: Ribbon wasnt synchronized with window state.