added error check for childrens function.
added error check to trashyLock function.
updated version number.