Make scalloc/smalloc/srealloc available to modules, fix icon background

It's handy, so why not make it available to modules?

Background colour was not correctly set before drawing icons [FIXED].