Fixed a retarded mistake on my part.
Fixed a seg fault issue when destroying an SDL window.