indentations, load dev.colors where needed, fix for namespace in template transclusion, set type for later use