Fix Warnings/Errors

Fixed some various errors and warnings in the code.
getters/setters for LinkedListObject

- class variables set to private
- Corrected areas where class variables
  were accessed directly