Updated pessimistic locking; added AutoClose to View