Fixed Bugs and Added State Continuation

The group decided that running from a state file should continue from
the most recent step number instead of starting over again at zero. I
add this so that running from state files will resume the simulation
from the step number that it was saved with.

Also, Seth kinda broke a couple of things while refactoring the old
code, so I fixed those issues and got the build working again.