Preventing screen from sleeping when the plug-in is running in the foreground.