Removed asserts and used plain if statements. Also fixed bug with extra newline characters.
Removed asserts and used plain if statements. Also fixed bug with extra newline characters.

sburnett/seattle,sburnett/seattle,sburnett/seattle,sburnett/seattle,sburnett/seattle,sburnett/seattle