Allow relations to by connected to other ways, fix some minor issues