Better implemention of fingerprinting

Also:
 - updated some TODOs
 - better conformed to ElemenTree standards by using "get" method to
   access an element's attribute
 - convered some single quotes to double quotes (to be consistent)
 - finally learned how to make proper git commit messages