made interpreter#endpoint private
renamed interpreter#ports!
consistently use string keys inside sax
cleaned up some #type_map code