Fixed usage of hard-coded /tmp/gateone path in terminal app.