don't set null data sources
added flags; ignore root node when reading/exporting animations
add logging and fix animation overwrite bug

node_index was not being properly incremented