Added GUI + Fixed query language

Added latest queries, and a ttk GUI