Merged latest flashcanvas.js from willowsystems fork