Added utility methods to Window for handling close requests, Bugfix: Window title set