fixed many broken links; links open in new tabs properly; bug fixes