Fixed screen sleep bug with MOUSEINPUT time

Hey, I saw your post, and decided to take a whack at fixing the sleep bug. I think I've fixed it by setting the MOUSEINPUT time variable to 0. I also cleaned up a lot of the boolean statements to make it a little more readable. If you don't want the changes to the boolean stuff, you can just add the time thing in yourself, but I'd appreciate you taking my pull request since it's the first one I've ever done. P.S. Thanks for making an awesome piece of software! I'd love to see where it goes, and maybe even work on it in the future.