Re-wrote pi serial to use GUI and Qt concurrency