Merge pull request #48 from snowblind/sharedmemory