Various layout and UI fixes
Dialog and menu positioning