small fixes in readGmsh, appendTetBoundary and 3D viewer