Fixed the ArrayOurOfBounds Exception on the dumpText(), needs testing
still.