Refactored CustomProcess to have a single location of evaluating a
single instruction rather than having two ways: one for playing and one
for replaying.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>