Added docs to window.java, changed var seconds to milliseconds

I'm doing a pull request... I'm not sure if you said you gave me access to push or what that was... anyway, you can look at what I added in window.java Sorry I didn't have time to do more.