[QtSingleApplication] Delete lockfile upon closing application.

Closes #811