Fix for customer PIN change on update if their home library pin is invalid.
Fixed SEX error for St. Albert, added file locking.