fixed an exception that was being thrown if the first thing pressed was ENTER into an empty editable DIV.