ExePath: fix crash when checking for non-registered program
main: allow different id and name in register_tool()
Fallback to avconv if ffmpeg is not available
main: extract register_external_tools()