Add new thumbnail pref to export
Fix export.jsm so it can be called from anywhere