Fix crash if Origin is not installed.

Also gets rid of trying to send an Enter at the end. Didn't work.