final AsyncCommand nextHook = hooks.get(index);
index++;
Window.setStatus(index + ": " + nextHook.getClass().getName());
nextHook.execute(new AsyncCallback<Boolean>() {
@Override
public void onFailure(Throwable caught) {
Console.error("Bootstrap failed", caught.getMessage());
}