Added dataAvailable event to ReaderThread.