Removed a few crash-bugs
Now uses absolute reference to tty-path