fixed table treatments, added lock to content.

Still need to do lock for campaigns and unlock