Updated many uses of face indices to use the new Index class.
Added comments and restored commented code.
Fixed warnings.