Added more queries
changed db schema to use 100 character varchars (you're all going to have to re-build your databases)
fixed some minor bugs in db code