Implement resolution scaling

Resolution Scaling is now done post-rendering to scale the entire
screen, instead of per-component.

(Note: this may screw up GUI rendering in the future. Will deal with
that later.)