draft outline for diagram heap rendering
small fixes