Update templates to modern standards

Just things like " foobar " vs. " @foobar " in the code. Calling
variables without property scoping or using the "@" sign is now
deprecated.
Work in progress

This commit is basically a "save point" in the branch to come back to
later in case something goes horribly wrong and I lose data on my
laptop.