Fixed issues with destroy functions of lisp env and cont