anchor.diff:    resourceManager.addText("GENtimeup", "Sorry! Your time is up.");
     resourceManager.addText("GENgameover", "Game Over");
   
  -  resourceManager.load().then((res) {
  +  // wait for resource manager, then start the game
   
  -    stage.removeChild(loadingBitmap);
  -    stage.removeChild(loadingTextField);
  -    stage.juggler.remove(loadingBitmapTween);
  +  await resourceManager.load();
   
  -    var game = new Game(resourceManager, stage.juggler);
  -    stage.addChild(new Bitmap(resourceManager.getBitmapData("Background")));
  -    stage.addChild(game);
  -    game.start();
  +  stage.removeChild(loadingBitmap);
  +  stage.removeChild(loadingTextField);
  +  stage.juggler.remove(loadingBitmapTween);
   
  -  }).catchError((error) {
  -
  -    for(var resource in resourceManager.failedResources) {
  -      print("Loading resouce failed: ${resource.kind}.${resource.name} - ${resource.error}");
  -    }
  -  });
  +  var game = new Game(resourceManager, stage.juggler);
  +  stage.addChild(new Bitmap(resourceManager.getBitmapData("Background")));
  +  stage.addChild(game);
  +  game.start();
   }
  -
  -
  
positive.code: library escape;
  
  import 'dart:math' as math;
  import 'dart:html' as html;
  import 'package:stagexl/stagexl.dart';
  
negative.code: part 'source/special_wobble.dart';
  part 'source/value_counter.dart';
  
  Future main() async {
  
    StageXL.stageOptions.stageScaleMode = StageScaleMode.SHOW_ALL;
    StageXL.stageOptions.stageAlign = StageAlign.NONE;
    StageXL.bitmapDataLoadOptions.webp = true;
  
    var canvas = html.querySelector('#stage');
    var stage = new Stage(canvas, width: 800, height: 600);
    var renderLoop = new RenderLoop();
    renderLoop.addStage(stage);
  
    // create loading screen
  
    var loadingBitmapData = await BitmapData.load("images/Loading.png");
    var loadingBitmap = new Bitmap(loadingBitmapData);
    loadingBitmap.pivotX = 20;
    loadingBitmap.pivotY = 20;
    loadingBitmap.x = 400;
    loadingBitmap.y = 270;
    stage.addChild(loadingBitmap);
  
    var loadingTextField = new TextField();
    loadingTextField.defaultTextFormat = new TextFormat("Arial", 20, 0xA0A0A0, bold:true);
    loadingTextField.width = 240;
    loadingTextField.height = 40;
    loadingTextField.text = "... loading ...";
    loadingTextField.x = 400 - loadingTextField.textWidth / 2;
    loadingTextField.y = 320;
    loadingTextField.mouseEnabled = false;
    stage.addChild(loadingTextField);
  
    var loadingBitmapTween = new Tween(loadingBitmap, 100, Transition.linear);
    loadingBitmapTween.animate.rotation.to(100.0 * 2.0 * math.PI);
    stage.juggler.add(loadingBitmapTween);
  
    // load resources
  
    var resourceManager = new ResourceManager();
  
  