~ replaced all System.exit(0) with dispose() in EditorGUI to keep the
program working if you close the editor

Signed-off-by: Imkerix <Imkerixus@gmail.com>