DMX pads the samples. Interesting, isn't it?

Also added a couple delete[]s to a couple new[]s that didn't have them.