Fixed debug mode messages not showing.
Fixed regex to not malform mailto links
Changed mailto links to always open externally