Fix CBT rendering and mem leaks