Remove cached widgets after tab is closed
Optimize item list paint operation
Don't print additional newline for "config" command
Set correct size for image preview
Updated scripting

Command "write" has optional argument ROW.

Insert text to correct row with "insert()" command.

Added description: inserting to first row changes clipboard.