stopped bogus circles being drawn, changed --flip to --invert, and invert colours