Medias VC refactoring. Added grid display mode