contact: Correct signal parameter

The parameter is a file transfer, not a contact.
application: Save data when quitting

Quitting the application (instead of closing each window) did not save
any data. Make sure that we don't just quit the application but destroy
all windows one by one so they will save their tox data.
debug: Improve some messages

Add memory addresses to some important debug messages.