// do this to release all references to graphical objects, such as PShadow,
// which holds references to BufferedImages
// this deals with the memory leak problem related to the use
// of ScreenRegionCanvas
PCanvas canvas = w.getCanvas();
canvas.removeAll();
}
displayableList.clear();
// force garbage collection
System.gc();