Added minor change to boro_set_left() and boro_set_right().
Do referencing in main insertion functions.

Referencing was being done anyway in lower level functions, and
this allow to get rid of ugly static functions.