What’s up with scripts?

That’s a user interface bug that unfortunately did not get fixed in Picard 1.4.2. The list of scripts is hidden, you can make it visible by dragging on the left side of the text area. See the following script:

Regarding you scripting skills: $unset(%script%) does probably not what you want. It would unset a variable with the name stored in the variable %script%. So the following code would unset the variable %myvariable%, not %script%:

$set(script,myvariable)
$unset(%script%)

The proper way to specify variables for $set and $unset is without percentage signs. The following actually unsets %script%:

$set(script,myvariable)
$unset(script)