Fixed bug with energy provider not properly checking energy supported.
Fixed bug with container slot registration not checking if slots are null, defaults this case to no slots.