Threading now Works

A separate thread(processSerialData) has been added.  It works but
seems to have some glitches (lost data) randomly.

Not sure yet if this method can run faster or more efficiently than
single-thread program or not.