Align Fireworks code to CVS head. 

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