added a main GUI window