a bunch of rewrites. stubbed out replay loading and saving