Refactored some of the HUD drawing