Added simple auto-save feature that allows changing interval through settings
Changed unused theme component check to prevent propmting same components again and again
Here are some design choices i made (that are of course open to discussion):
Default auto-save interval is 1 minute
Only opened scripts are auto-saved. New scripts and themes aren't.
Auto-saving stops for a file until user saves himself if user choses not to save after being prompted with unused themes. This is to prevent same happening again and again. Auto-save continues once users saves file manually.
Here are some design choices i made (that are of course open to discussion):