.templates added. Use \\[template-new-file] to create file with templates.
gas-mode added.
other minor adjustments