Fixed a NULL-issue with the database queries some slight style changes
Added basic new thread form structure
Merge branch 'master' of https://github.com/RCreyghton/webdb.git