Added Activity to display media images and other bug fixes