upgraded *allocs to abort-prone ones, giving us standard behaviour in the zombie apocalypse
fixed up error on some gcc versions