prevent memory leaks, improvment Logging function
Merge branch 'dev' of https://github.com/Chtau/mAWC.git