fixed various syntax/spelling errors and tweaked indentation once more.