Fixed a major caching bug in DataInterface and added some more logging.