Changed DataMiner so it will write out its hashmaps at the end.