Removed ItemTextureCache and merged it within the SP class
Added some null checks