added a callback to floodfill
Merge remote-tracking branch 'stephen/floodfillcallback' into upstream-master

Conflicts:
	lib/agentscript.map
	lib/agentscript.min.js