modified main window, added icons, created templates