Fixed config accessing accidentally mangling everything. Put terrain file path in config file because why not.