Enable C++ exceptions, add upload of logfile