Updated copyright year.
Fixed my sloppy use of globals (by eliminating it).