Refactoring: greatly simplified the process of notifying the GUI thread to 
update UI (from the data loading thread for example) by using 
wx.CallAfter instead of custom events.