added HUD handling into into PHYSIM instead of cpp