Run-time issue with derived Tree and TreeCell classes