Fix critic dump bug and add better sublime plugin