Bind minidump message box to the main window.
Fix framstep back recovering wrong file position

Fixes #4782