Some more work on smeasure.  Functionality is a lot more useful now.