Fixed ordering problem with problems in a given set. This squashes bug #405. Also made a few clean up efforts on the code. --Mike
Changed paths: