Fixed crash when selecting corrupted world file
Ids now get dynamically allocated to prevent any collisions