Automatically remove torrents that have finished seeding, to reduce memory usage and startup time of transmission. Cache string lengths (too many strcat). Convert python plugins to C. Use torrent add response to track finished torrents. A torrent can finish before it is first checked! Add rate limiting for downloading manga. Verify path lengths. Currently there is limit to 255 characters for remote names, but not local + remote names. Deal with replacing of / with _. Handle strdup failure. Make downloading manga asynchronous, just like torrents. And have timeout for download. Detect if a website is very slow (timeout?) and ignore sync for that website for the current sync. This is to prevent a slow website from preventing all syncs.. Cleanup command should remove torrents from transmission. Remove dirname because it breaks automedia.pid because it modified /proc/.../cmdline. Should also do readlink on the first arg of cmdline (which doesn't work if automedia is in /usr/bin???). Use socket! look at quickmedia.