Changed some things about the close button, more stable now.