To delete a code window go to Analysis >Code Windows.

 

 Select edit windows on the next page.

 

At the next screen select which code window(s) you want to to delete and then click Delete Selected.