source updates for doc and code reformatting (tabs to spaces)