added close editor button, edited scripts get reloaded automagically