Added KEY and PREDICATE to QSORT like SORT. Fixed PRINTHASH for NIL stream.