Changed reference links to open in new window
Fixing corpus functionality