     
     // Set a low priority for the logo so that other UI elements can be drawn on top
     logoSprite.priority = -100;
+}
+
+void SetWindowTitleAndIcon()
+{
+    Image@ icon = cache.GetResource("Image", "Textures/LogoLarge.png");
+    graphics.windowIcon = icon;
+    graphics.windowTitle = "Urho3D Sample";
 }
 
 void CreateConsoleAndDebugHud()

        // Instancing
        else if (key == '8')
            renderer.dynamicInstancing = !renderer.dynamicInstancing;
    }
}

{
    // Create logo
    CreateLogo();

    // Set custom window Title & Icon
    SetWindowTitleAndIcon();

    // Create console and debug HUD
    CreateConsoleAndDebugHud();
