Fix visited links finally. Fixes #57 and fixes #69