fixed threading bug that crashed display on startup