Git Update

Updating the git, now that repositories have been moved to the project
index.
MySQL Update

Learned of a new method that I could use to cut down on some code, and
reduce queries.

Little testing done.