Minor changes. imalloc uses xmalloc now.