Moved to MySQL, fixed a couple bugs.