improve idchar check a small bit
simplify read code for characters somewhat
add a fast path for peek