Saner page entry flag constants. Removed clearing from constructor and into new clear() method. Added entryAtIndex().
Initial port of liballoc.