Fixed a rare problem of tool perimeter box disappearance Made script config window non-modal, to allow modifying scripts on the fly Made color selector able to pick color from canvas in script: "colour=(10,10)" Added scriptable repeat count to undo/redo: "-e/undo=5 -e/redo=2" Switched mem_mask_init()/mem_protected_RGB() to a more efficient method Commented out debug output for clipboard import on Quartz