fixed infinite loop after 1 line of code error
updated links to open in new window