SDS is more functional than glib
Runs now, though I still need to fix the memory free ops.