big commit. lots of changes

worked out more bugs. i cant seem to find any left. everything works
perfectly. i made some changes, however, to the graphing sketch, and
that seems to finally be going in the direction i want...