renamed files correctly, and corrected some typos, now the engine works, somewhat..
now we commit at each time we type a character and not only when we press control+s
also we commit the first elemement in the lookup table if any, when pressing enter
or space