Xcode decided to change the xib
removed some unused code
restore terminal contents
restore path (start path, not path on exit)