Integrate gwt-dispatch framework and fix #3