* Fixed issue of settings not saving.
* Added compatibility for multisite.
* Fixed some code level issues.