still working on threading image loading