Removed test code for serialport and implemented creation of gui elements using wxwidgets events instead of callbacks from another thread...