Fixed data import during startup not working due to threading issues