debugged

Worked through some minor issues.  In general, program worked as
intendend.  Time to add some candy.