Reorganization of threading for command line and wx main loops. Commands are now cleanly serialized through calls to wx.CallAfter. wx mainloop now runs on main thread.
# module which import C files as stringsimport osfrom PLCObject import PLCObject, PLCprintimport ServicePublisher