Fixed several small problems.