Added support for enums (though I have a hunch that's not a correct name)
Started work on a more advanced query editor
Major revamp of queries

I realised the queries were way too simple and to use things like
functions I'd need to give a greater degree of control (at the cost of
a more complex UI).
New method allows adding of tables (well, 1 for now)
Columns (with functions) can now be added