debug mode commented out

forgot I had if(DEBUG_MODE) in two places. also collapsed the MYSQLi
class to extend from the MYSQL one, not sure why I didn't do it from the
start but I knocked that one up about two minutes before I commited it.