make FSM exceptions more helpful
replace print with logging
Merge pull request #237 from newbrough/improve_messages

Improve messages