fixed hit tracking bug with coin giving in spacedog, integrated treedog data saving functions