updated read_kml, works great now, code is ugly though
little bit of params clean up in read_kml