Fixed CPU problems with pause slot actions. Related to issue #20.