public void cleanup() {
final IWindowManager windowManager = Container.getComponent(IWindowManager.class);
if (windowManager != null) {
windowManager.cleanup();
}
Container.getComponent(IBattleManager.class).cleanup();
Container.getComponent(IHostManager.class).cleanup();
}