Allow passing screensaver and sleep options, move sleep to separate file