Added display.dispose() in the hopes that OSX will close properly