Handle case where there is no GUI hud

Current code assumes there's a GUI hud window