Added prototype for MainWindow object