Avoid messing up terminal on exit or crash
Merge pull request #10 from PaulOstazeski/master

Avoid messing up terminal on exit or crash