protected Image(java.awt.Image image, boolean mutable, boolean toGray, String name) {
		Display.check();
        
        // Give VM some time to cleanup every n images... 
        if(((++imageCreationCount) & 7) == 0){
            try{
                Thread.sleep(4);
            }
            catch(InterruptedException e){
                
            }
        }
        
		if(toGray){
		    this._image = java.awt.Toolkit.getDefaultToolkit().createImage(
					new FilteredImageSource(
						image.getSource(),
						Color2GrayFilter.instance));
        
		}
		else{
			this._image = image;
		}
		this.mutable = mutable;
		this.name = name;
	}