added comment
removed nodelay reverted to old settings
calling window.destroy and refresh_all when menu's closed
revert to old settings: wtimeout and no nodelay
revert to old settings: wtimeout and no nodelay, getch