moved the active code out of common.scheme to somewhere more appropriate;
added example runs, and some commentary of my own;