lock files to prevent accidents.
preview will only run if the turn worked out.
cannot accidentally run in the game directory.