Added some of ChunkScanner
added some stuff to QSort
More added to QSort