splangotags: refactored to constants some error messages
splangotags: simplified instantiation of nodes in tags return statements
splangotags: added debug logging; cleaned up comments.