Some code cleanup; updates Python scripts in examples/piktests/circular.
Updates shell scripts in examples/piktests/circular.