Show traceback for unexpected errors
Fix bug with generating plans into current dir