Moved QTimer from Simulator to MainWindow to prevent crashes.