UI overhaul (QMainWindow instead of a mere QWidget is now used)