Currently a string indicating that it is too large gets dumped into data.osm, just detect this line and crash out with a dialog box