Changed MainWindow so the program will compile again (gives today's date in SetPosition())