cppbc: light objects, bugfixes