tweaks to <ident>'(' error handling. general housekeeping