Update Keylogger.au3

Added the _logWindow-function
Added some comments
Changed the way some globals are initialized