cleaned up interface to the HUD widget.
bug fixes.