Lots of things, it works now!

SOrry about the shitty commits, I'm developing in a rush