Work-around crash on exit after cef shutdown: minimize window...
Also fix an unused variable warning.