Fixed leaking clipboard by switching to tag processors, other bugfixes
Added GENERATE function
Added default template