in persistentStoreCoordinator method, nil out error var before reusing; in persistentStoreCoordinator method, added a couple of logging statements where possible errors could occur; minor code formatting updates