check style failed on this line. It should be:

public void onGuiClosed() {