Restore last opened file on start or last editor text if no files were opened.

Supported Ctrl+A command to select all text.
Added new file command.