Added loading HUD and error handling