cleanup and debug statements for SMIL data tree (works fine! :)