separate member for table drawing
separate method for window creation
drawing the table
rework of the code - drawing as separate methods; after update, removing the window and redrawing again
other entries for table update upon add