-Twitter-Login (and dependent functions) were broken. The problem was that requesting "https://twitter.com/login" returned a twitter error page saying that your browser is out of date. Twitter-Login (and dependent functions) now uses "https://mobile.twitter.com/login" instead.
-The process of collecting the direct links to pictures and videos was very slow. I've changed that part of the script so that it is now performed asynchronously via Windows PowerShell's "Start-Job".
I've tested the script numerous times and seems to perform favorably now.