fixed up data-structers and some bugs in the meshSelectWidget