Added call to lock_element to set processing true and process_start time...

...stamp.