Slight layout improvements, TeXWorks magic comments

Figures cutting through paragraphs aren't pretty, neither are paragraphs
beginning just a few lines below a new page. Now that the theory part is
ready, these issues can be addressed.