Opcode Replay: Fix some GUI bugs and add debug dialog.