HUD Script Refactor and HUD content backgrounds

Refactored HUD script into manageable small functions, overall result is
the same. Added a grey background to each area of the HUD that will
contain icons, buttons, or text.