[TSM] Qt5 compatibility.
[Azoth NE] Better code.
[Azoth] Better smiles layout code.
[Azoth] Try painting from QPalette::Base.
[Azoth] Set smile buttons' size to the largest smile size.