Fixed a lot of stuff derp derp derp.