fork from 9.1.13 spim simulator. augmented with colorado state keepstats