Add missing setProperty() and fix setProperties() when argument is null.
Add missing setProperty() and fix setProperties() when argument is null.

kaffe/kaffe,kaffe/kaffe,kaffe/kaffe,kaffe/kaffe,kaffe/kaffe