Progressed the first part of advancing element on top of stack to be hopefully fully functional. Need to work on second part next.