Better errors

This improves the error output of most errors in `simplebridge`. It is not a very complex patch, but is long.