Fixed logout sound related bugs (playing invalid files, destroying context), added warning logs to syslog