Minor cleanups

No functional changes in this pull request:
* clean up whitespace (two lines were misindented, probably as a result of an earlier pull request).
* Return a value consistently from showImage, hideOverlay and showOverlay, to quell error messages in the Javascript console on Firefox.