added windowlistbutton and the ability to close channels and queries