Close mirror + fix crash when stopping live view

At least for me it now always closes when I stop live view. It does
however NOT close when I exit darktable.
This commit also fixes the occasional crash when stopping live view. At
least for me ...

TODO: Get rid of the deadlock that happens every now and then when
leaving live view.