Case sensitive are these SQL queries... Yikes.
Turned on error reporting for build and fixed a couple bugs.