Adding global pause flag for debugging, fixing self-handling in SVG groups