Patched allocator macros.
Simplified gear_value a bit.