Removed all pygame references from SampleGen, added checks to ensure self.file isn't None in SampleGen, moved pygame initialization to a more correct spot, and fixed crash from trying to send a buffer through a Queue instance.
Merge branch 'pyserial'