Fixes to awscluster Tomcat and Cassandra thread logic, and NodeRegistry.

More fixes/changes from testing on AWS.