Minor reorganization

Move default variable definition to top.

Indent comment inside function (for testing with endwise).
Add load guard

Don't re-load if already loaded.