Cleaned up HeapPage.java a bit.