Cleaned up some unnecessary code. Added in the start of the lock/unlock nodes into the commentation of the code.