Fixing libs.php (again) and the wan page.