fix regression for kludge SLC processing
add tab completion
improve encoding error handling