Started moving some logic into controller. UI now scales to window size. Mouse movement fixed to scaling.