Fixed fatal error when a locking conflict occurs.
Updated copyright.