fixed minor coding and styling issues.