Added focusing the text editor when an error is double-clicked.
Also wired up Enter keypresses to focus the error.