cleanup debug, readd fix to not recurse subtrees when node is colored