Don’t crash on template loading if no project is loaded
Properly display templates in the template combobox