2 fixes

bugfix: oversight in mathfunctiongeneric that made it have no curve
until being re-created
bugfix: sound buffers couldn't serialize with null data