worked out a particularly vexing interface problem & did some code cleanup