Minor improvements

Added ````return this```` to ````Message.set(int,Part)````
Fixed potential NPE in ````Part.setLocalizedTextParameters(String...)````