tests/data/inputdata: begin collecting malformed input data for tests
show error dialog on malformed image stack

I implemented this with concurrent.futures, which you may need to
install.
In contrast to a normal thread, this propagates exception back to
the thread that initiated the computation, allowing us to show an
error dialog from the gui thread.

Also see issue #165.