Better error handling using difflib and wx.MessageBox