Fixed broken test
gui.progress_window: make sure that job is still running when cancelling it
sphinxgen: call sphinx-build from within python instead of a subprocess