Added check to see if Minecraft is open
Got rid of echoing the window id.
Merge pull request #2 from calvcoll/master

Added check to see if minecraft is open