Small bug fixes for media, docs, import