HUD code cleanup + color reset