replaced hud

cleaned up the hud related code