Put image and palette loading on own thread
Put image and palette loading on own thread