Fix shortcut script error handling.

Shortcuts now open a terminal, and remain open until the user hits
ENTER. This allows the user to read any output or errors before the
program closes.