Getting ready for revising state variable handling and parallelizing I/O.