str() reworked; variables correctly ordered; created parse_uri(); added wiki link as ref