ENTER/LEAVE, SAVETMPS/FREETMPS action. Fix RT 99198