get_tag_info() fully functional now

fixed issue with script failing when a specified tag is not found in the
document
fixed issue with incorrect results when using a single-element 'dotted'
tag request
cleaned up whitespace and unneeded comments.

need to get comments up-to-date now that the code is more solidified