Added debug to gtfs. Fixed some bugs