doc fixes and make b_destroy() work properly