Completed script-saving mechanism.

One-button saving to local .txt file, for now. Later, maybe there could
be a feature for 'save as'.