Fixed RPAction cancel bug. Added temp variables

Added temp/predefined variables in progression.