Converted tabs to spaces. Minor formatting fixes.