main gui updates
functionality of main window mostly completed