Applet improvements: handle when a key is not released before ENTER is
pressed and properly initialize lists if the sequence begin with a key
release.