Now works correctly if other (non-shared) buffers exist
Merge pull request #74 from Drahflow/master

Now works correctly if other (non-shared) buffers exist