adding QgsMapCanvas operations,gdal functionality, and exception handling.