Throw exceptions when external programs return nonzero.
Add more checks for executable patching.
Add executable patch to GUI.