merge dev for some bugfixes

* a standalone inter-thread communication channel
* fix #7 
* log system
* prepare for source file renaming