Automatically open location list on exception

Closes #39.
merged with upstream