Add default operator to PROJECT_TEMPLATE and THEME_TEMPLATE; fix pep8