Add space before . to be consistent with the real toplevel.
Enhanced handleError(): escape HTML, remove pengine module prefix and use
a <pre> to make multi-line messages more readable.