Updated code to support easy resolution changes.
Changed the resolution to 1280 x 960