More helpful error messages
Adjusted countSortWithoutStats() too