scam_getcw: locking fixes
Merge pull request #78 from ostryck/master

scam_getcw: locking fixes