Fix code line overflows pgs. 17-100

Here's the first round of fixes for the code overflowing off the pages in PDFs. (See #902 for more details)

At one point my whitespace remover plugin started kicking in, so there's a few lines that have no changes made to them, despite the diff saying there were.