Add support for Tumblr video and audio posts
Clean up code a bit