added load/new methods to mainWindow