Removed screensaver functions to new lua file