fix #14 textures not saving/loading