cbasebox => cleanup and some more debug output