Always the same but with removal of insanities

Same pull request as the ones before.

I also removed one big error prone problem: setting the type of the key when calling buxton_set_label.

And finally I used TYPE_UNSET to improve the use of set_label.