MainWindow.cs: add try-catch to quickfix a crash reported by TheSponge
Merge pull request #246 from xponen/zkl_crashquickfix

ZKL: quickfix for a crash reported by TheSponge