Basic error message when rescanning fails

See #29.
These are just whitespace changes - the indentation was all wrong.