Done css injection right. Some refactoring. Puny attempt to limit re-renders but still need to figure out how to re-draw specific templates only