MainWindow: Adding of spinbox to control speed

A spinbox has been added to control simulation speed.