refactor window behaviour into new AbstractWindow class; refactor doing something when any menu option is clicked into new OnAnyOptionClicked event
use a global windows list instead of drawing each of them manually; dialogs may modally block the editor now
show confirm dialog before deleting a folder
disable all buttons as long as a modal dialog is open