Fixed typo in default allocator.
Config now properly writes to non-existant keys.
Added the cube demo for config.