added parentingLockValue.
integrated parenting lock check into parentingLock function.
updated version number.