add enclosing context to panic messages; optimize Eye.Cognize