New class to manage the HUD

The GUI seems to run slower with these classes :/
(previous commit was a mistake)