Moved Code from GUI to Camera

I figured that it belongs there, since it relies on the Camera object to
function.