Add some explanatory comments above the keylogger. Debug keylogger.