* Removed some unused code.
* Fixed ping check on the settings page.