Fixes various long-standing issues with the documentation bef. the upcoming release.