fixed table treatments, added lock to content.

Still need to do lock for campaigns and unlock
Merge pull request #23 from kwals010/master

fixed table treatments, added lock to content.