Replay implemented with related changes. Randomly picks choice after checking replay status. Addition of persistent.clearedScenes list.

Also some minor cleanup of files.