Fixed center image positioning, added plus/minus key handlers

Images which should be centered are now actually centered, before the
calculation had been wrong and is now corrected.

Also the key handles for the plus and minus keys, in addition to the
numpad keys, have been added to control the canvas width.