changing tabs to spaces; minor text edits