Index: doc/theses/andrew_beach_MMath/intro.tex
===================================================================
--- doc/theses/andrew_beach_MMath/intro.tex	(revision 166b38413fd03023cb77057099e2e9ca92c84e8c)
+++ doc/theses/andrew_beach_MMath/intro.tex	(revision 4e8df745bf32da07b36eb0f151a7206260a7d2eb)
@@ -280,6 +280,4 @@
 standard library function that reports errors this way.
 \begin{lstlisting}[language=C]
-// Make sure to clear the store.
-errno = 0;
 // Now a library function can set the error.
 int handle = open(path_name, flags);
@@ -338,5 +336,5 @@
 use the same error type, then it can be implemented with a \code{haskell}{do}
 block.
-\begin{lstlisting}[language=haskell]
+\begin{lstlisting}[language=haskell,literate={}]
 failingFunction x y = do
 	z <- helperOne x
Index: doc/theses/andrew_beach_MMath/performance.tex
===================================================================
--- doc/theses/andrew_beach_MMath/performance.tex	(revision 166b38413fd03023cb77057099e2e9ca92c84e8c)
+++ doc/theses/andrew_beach_MMath/performance.tex	(revision 4e8df745bf32da07b36eb0f151a7206260a7d2eb)
@@ -39,5 +39,5 @@
 On the other hand, the functional equivalents to resumption are too new.
 There does not seem to be any standard implementations in well-known
-languages, so far they seem confined to extensions and research languages.
+languages; so far, they seem confined to extensions and research languages.
 % There was some maybe interesting comparison to an OCaml extension
 % but I'm not sure how to get that working if it is interesting.
@@ -317,11 +317,11 @@
 \CFA, \Cpp and Java.
 % To be exact, the Match All and Match None cases.
-The most likely explination is that,
+The most likely explanation is that
 the generally faster languages have made ``common cases fast" at the expense
 of the rarer cases. Since exceptions are considered rare, they are made
 expensive to help speed up common actions, such as entering and leaving try
 statements.
-Python on the other hand, while generally slower than the other languages,
-uses exceptions more and has not scarified their performance.
+Python, on the other hand, while generally slower than the other languages,
+uses exceptions more and has not sacrificed their performance.
 In addition, languages with high-level representations have a much
 easier time scanning the stack as there is less to decode.
