reference overlay
redundancy removed
Merge branch 'master' into gh-pages
comment cleanup, logging
cleared undefined vars, all is well
clean functions