fix help popup; be more strict on paren insertion