Add stitch() function.
Add KEYTIMEOUT param.