Changed how debugMode() function works entirely.
Now, debugMode() prints out the SQL statement as created by the function and the where array associated.