tutorial formatting and minor fixes