Feedback on the latest issues with the script dialog

Seems to work how I'd expect here. Enter adds a new line if the edit control is in multi-line mode, and is like clicking OK for single-line edit controls.

The rest should each be in separate threads, please. (Ask one question per thread)