Delay getting Chart manager until it is needed

Assigning it when the class is created cases problems when the manager might not be available yet.
Changed the chose generator so that showExternalGenerators works as intended.

Fixes problem where the ds generators would turn off properly.
Fix some dependencies

Added dependency on guava used by cdk