Plugin improvements/fixes (3dveins, command-prompt, search)

* 3dveins:
 * Prevented crash from running in arena mode
* command-prompt:
 * Fixed handling of newline characters in command output
 * Made new command prompts dismiss the previous command's output
* search:
 * Fixed a crash from mouse clicks when search is active