Protection against user changing caret position while code movie is running type command

This change attempts to fight the serious problem created by user accidently changing the caret position while code movie is typing some text.

When typing starts, invisible div is created to cover whole text area and prevent user from changing caret position and messing everything up. Once typing is over, the div is removed.