merge cmdbar plugin and port to vc 9.0