Adding in the ability to get a full set of queries, disable/enable query logging in the connection options, and simplified the get last query function.