replaced tabs with spaces
displaying warnings for invalid media links; fixes #6