Minor code clean-up
Fix code clean-up
Fix image display to work on Firefox
Escape on manually creating a digit by clicking on the corner coordinates deletes digit, escape on manually editing a digit keeps the digit but clears it