svn path=/trunk/; revision=788
Added fixes for bugs 270983, 274792, 351710 and 367705. svn path=/trunk/; revision=784