WindowWillClose workign and added libsndfile
various libs added