fixed bug in "for" template, ...

moved constants to other type groups for seperate coloring, made illegal
syntax underlined for better visuals