storing error codes in bitset and adding MeshQualityController call to GUI