Destroys window

Prototype

void destroy();