removed lookahead ctx from everywhere, renamed stack_ctx to stack_nest, simplified context element to a pair of ctx_tag and ctx_name