Make showhtml a more legit module; some cleanup.

This concludes my current coding on the showwork/html stuff.
Next I plan to standardize what mode_result returns.