cleanup textures and load from bitmap