process switch, for plugins that need to refresh page (ie autoflow grabbing emails)