Fix debug level usability
Almost done with program replaying