Don't prepend filename in href if target is in the same chunk as source link node.
Cleaning up comments.
Bug fixes.