Move GPIO writes to a separate thread.

I didn't spot that one though.