broken links due to directory structure on github pages (plus some cleanup)