fixed typo in code comment. minor indentation/whitespace corrections.