CPMT: Fix issues with create template, add ablity to change bg color of template.
This is a little slow on certain sizes, but it'll do for now.