better handling for ord/chr

This also handles sub call with parens better.