almost finished main GUI. End of day