add destroy method so if you create lots of windows you can keep them in a list and kill them all