Automatically create shared memory on demand
Merge pull request #6 from duncan3dc/process-sm-on-demand

Automatically create shared memory on demand