Fixed html viewer, added full mime download