Adding more of the UI elements and the corrections to the MediaType functions. JS is still not finished but mostly working.  #190