Implemented media tags and some minor enhancements.