IS_EMBEDDED was undefined.
allocate.png was missing.
Removed debug line.