More work on HUD meter and code cleanup.