Fixed dep issue and made closing message clearer