Added network admin settings, refactored settings, and several bug fixes.