Only stop yaw and pitch when switching to drag-to-look
Added resolution options and cleaned up some code