Added another defined sleep time

Added minimized sleep time for when the window is minimized.