Fix color for reference hyperlinks

Use the same color for links shown when ctrl-clicking as for regular hyperlinks
Fix reassigned parameters and todos