Improvements to the tomcat checkup script.