Added ref counted handles, object bucket to kernel, texture cache now uses ref counted textures