I need to pass data from worker thread (that reads from a serial port) and then pass the data to main GUI thread which needs to display the data. How can I achieve this?