Removed table locking implementation.
Basic row level locking has been added.
Removed html encoding from inline styles and scripts.