Finished updating dbconn mysqli, and a little clean up