cleaning up internals, adding comments for my own benefit
basic i/o: words EMIT and KEY operational