Added malloc.{c,h}; minor tweaks