refactor get plugin options into function, including multisite admin panel and multisite overrides and overlays in single site. complex commit.