Fixed automic window closure, created shell window for editing events.