Create patterns file when exporting sprite sheet.

NailLib changed SaveHelper to save text files.
Updated locales.
Added exit menu.
Fix title of compile window.
Added preferences window.