Add single thread mode. Compile with -DGGPE_SINGLE_THREAD to stop using
mutex.
Merge branch 'develop'