Add error handling to shortcut (control) scripts.

Scripts check for existence of files before sourcing or running
them and print appropriate warnings when they are not available.

Output is sent to logs in a separate log directory (shortcut_logs)
rather than to nohup.out, and is separated into gui, node, and
server-related logs.