Improved UI

added table in main window, implemented table update (not working)