fixed stylesheet errors and set up reply controls