Move stack type management into the stack
Starting to expand the set of handled types.
Corrected implementation of incrScalar, working towards type handling