Fixed some undefined notices.
Fixed the network admin settings.