Show error info when a plugin crashes.
Handle correctly the current position of the cursor when pressing <Enter>
Authored by: alexandernst 2010-08-17
Parent: [r219]
Child: [r221]