Fixed broken stack push|pop

TODO: fix varBuffer truncation to first '\0'