final commit with wx.Yield() bug solved