Upgraded to C99
Improved allocator. Fixed some bugs and enabled the allocator to request more pages if necessary.