add cmake support
hacky stuff to get freewheeling to actually compile
add mutexs when reading or writing circular buffers

make sure nobody tries to read or write to these when the manager thread
is changing things around
ignoring some files
Revert "add mutexs when reading or writing circular buffers"

This reverts commit 1521a69c46b8e62cb633c961810c18ddfa200c08.
use mutex to allow freewheeling to start reliably