prevent messageBubbleLeftRightMargin from being negative. fix #486
close #484
fix settings
Merge branch 'develop' into release-6.0