Jesse,
Hi, I can't reproduce your issue.
Are you sure calling SetSecurityTemplateGalleryPath will cause that issue ?
What path did you pass to that method ?
Another possible reason , maybe you set the TemplateFilters to a wrong value.
if you duplicate the file extension , the editor will load the same file twice.
Regards,
Terry