Improved zooming and panning, and added basic support for WMS.