More bugfixes & pdf exports of planning docs