Some more fixes.

* Get map data from the proper place, Refs #298.
* Don't hide exceptions.
* If there's an error, call the parser's error which shows the message and sets the proper exit code, not 0 as it was.
* Minor output changes on the `raw_input` call.
* Exit when there's a failure in queries. Fixes #297.