Removed unused variables from main.
Disabled autolock for the linked list.
Disabled autolock for the linked list.