Implement PDF presentation, got it mostly right

Focus handling still needs work.