Fixes #578, DSCP bug
Fixed some memory issues in DSDP, #574