part of a pool allocator for use with opengl (etc)
big changes; partially broken

disabled most functionality for the transition to opengl.