Fixed the youtube_title function and added comments overall.