Fixed logging and error handling of tcoffee: now it will really log errors to log file, temp files won't be deleted when exit!=0, command line is logged