Compiler unit group ready for testing.

And a huge bug in template function core has been found and fixed: The render will call compiler to render, that's impossible. The problem done by copy and paste. What a humiliation.