fixed BO bugs (passes all tests), enhanced plotting tools