Fixed some notices and remove ability to have multiple libraries at the same time