Fixed static problem.  Now there's a problem with the read process aborting.
I didn't notice this earlier.