Fix null pointer when rendering itemstack name
Misc code format
Change use texture ID instead of a texture object
First commit