Made ActionStack instantiable, added reset function