Added a getter for canvasSize.
Added an object initialiser function option.
Throw sensible error if named image is asked for and not found.