Fix load order of mibs.
Add check for errors on loading of mib