Fixed perspective and tightened up some code