added a keepalive instruction to close()

better solution than outright removing the setRawMode(false). When a menu is used in a multimenu program, menu.close(true) will make sure things keep working under win8.1 terminal conditions