Initialize all pointers
Add shortcut ctrl+q to close MainWindow