System.out.println("MasterCanvas: repaintCanvas");
System.out.println("MasterCanvas: repaintCanvas " + canvas + ", MasterCanvas.instance != null: " + ( instance != null) + ", instance == canvas: " +  ( instance == null) );
	public static void repaintCanvas( Canvas canvas ) {		if (canvas == null) {			//#debug warn			System.out.println("MasterCanvas: repaintCanvas got [null] canvas." );			return;		}		//#debug		System.out.println("MasterCanvas: repaintCanvas");		if ( instance != null ) {			instance.repaint();		} else {			canvas.repaint();		}	}