removal of some devel/debug code. updating of some docs.