todo update: margins
CMakefiles added for CMake build
pthread added, linux core dump issue fixed
Merge pull request #2 from dm999/master

todo update: margins