Merge from CVS HEAD.

Import untagged changes from CVS HEAD.

Fix crash when set projection center from popup menu.