nothing works what the hell

basically, when there is an empty recieving buffer
when the script is run, 'sin.inWaiting()' returns 0
so that nothing actually gets written to the file
and gnuplot yells at me.

everything works alright (i guess) when there is something
in the buffer before the script is run.