This is to aid debugging, but users will also find it very useful. Ctrl+S will now save the file
for the user without the file selection dialog box appearing (unless it is the first time). The
state_save() method has now been split into 3:
action_state_save() - for the 'save' actions.
action_state_save_as() - for the 'save as' actions.
state_save() - for doing the actual saving.