Fix comments.
Use PDO in the DB stuff.