fixed bug not keeping panes dead once optimize starts