Role of Mg-B-O Nanostructural Inhomogenities on the Performance of Superconducting MgB2