Don't write replay files in release mode, just record the seed
Remove some useless task callbacks