Clear undo actions after setting up memory view.

Apparently hex fiend tries to hook up undo actions on its own or something? Odd.
Retrieving main entry address is now respective to region passed in
Minor change.
Restrict debugger to one region.
This function only works on 1st region anyway