added memory stage in main window UI file