encoder: fix deadlock when the encoding is done

the timeout triggers a timeout that calls next_file again
Fix backgrounds in the categories templates
encoder: fix segfault disposing the encoder
encoder: disconnect the signals sooner
Updated FSF's address