Remove hardcoded string 'Error: ' in script::writeError() and use a decorator instead.
'$' is now the default prompt value.