adding status
clearing locks during cleanup
Merge pull request #28 from narkisr/status-clean

Message queue fixes, add message queue `status` fn (narkisr)