excluded non-comment talk pages from being affected by custom link forma...

...tting code

Plus some minor improvements.