Removed debugDisplayShapePoints(), improved the editor. API: added debugFlag().