Bugs #352, #393 are fixed: preliminary solution 2
Bugs #352, #393 are fixed: preliminary solution 2

iakov/qreal,iakov/qreal,iakov/qreal,iakov/qreal,iakov/qreal,iakov/qreal,iakov/qreal,iakov/qreal,iakov/qreal