Added several new functions and fixed s-chomp to work on "\r\n" combos.