Dialog fix. Map format work. References now built during mapgen