Some changes to import dialog. fix virtual sprites