Various fixes as well as work on reproduceRattay (which still does not work due to issues with generic spatialInfo)