Changed to an open/close moded of stack interaction.
Cleanup
Self-review