Fixed compiler errors, upped framerate