Added better threading and more error handling to the FTP server.
Working on getting video streaming working with libav.