Turning off end of book references, various github issue fixes