Fixed outsourcing of initialization variables
Merge branch 'master' of https://github.com/kvarteret/dak-smugmug-wordpress-plugin-v2