Object[] params = cmd.getParams();
AID tool = (AID)params[0];
MainContainer impl = myContainer.getMain();
if(impl != null) {
impl.toolRemoved(tool);
}
else {
// Do nothing for now, but could also route the command to the main slice, thus enabling e.g. AMS replication
}
}