Modified behaviour of middle mouse button to pan. Changed autopan to do what I think it should