Add debug message
Use idle timer for closing popup windows (#112)