move orphan validation into the import process

- changed back to motasem code
- moved nik validation of orphan into orphan importer
- invalid orphans now show in error screen on import
struggling to decide whether this style is best or the flash should use the second or third variable