Fixed some typos in SQL queries, added some setters, added slashes around column names in Queries (prevent SQL injection) and added some code in gui to test.