Fixed issues #350 and #348 for VS 2010 and 2012.

#350 - bar-descriptor doesn't auto create when deleted on vs2012
#348 - unable to view bar-descriptor Editor