Typo and whitespace fixes (closes #41)