SWIG with thread does not work.

Other changes:

* executing sofa catches output
* change in exporter behaviour (exporter should not update the memory, just return an update)
* log.py is thread safe (maybe this helps markus)