Mainwindow UI enhancements.