HUD overlay improvements

Reduces code duplication, increases code robustness, adds science googles overlay.
Merge pull request #6769 from PsiOmegaDelta/Science

HUD overlay improvements