Fixed an error message for NanoUI templates which fail to compile.
Fixed errors in NanoUI templates.