Ripped out resolution stuff. Fixed the mouse deltas to be correct.