added some more GUI stuff. Queries are next..