Rewrote input system and a bunch of other major things.