remove warnings
improve IDN and external link handling