Tidied up UID handling

+ Fixed issue with closing parent windows of File Locations Editor