Issue 87:  Added member variables for push and pop commands to stop them from leaking when being created dynamically