TODO: add mutex and combine loaded texture files -resizing is handled by the thread, hopefully this isn't an issue load the loaded textures into the palette