Another bloody huge refactor. This started out as a bug fix.

Anyway, that bug's fixed now. It's a bit prettier, things have been refactored, I'm using a native class implementation, so I've removed the John Resig inheritance stuff, and I got rid of dat.gui too. Bit faster, hopefully leaner and smarter, and good god I need to commit more often.