fix APA presentations to work better with pandoc and some minor improvements more generally.