added a tool to drive a cache prior to a batch analysis, cleaned up some bugs here and there, standard stuff