Made hiding/showing things in file mode better.

Text box and copy button now are hidden/shown using CSS, with a "file"
class added to the body tag via JS. Allows clear button to be properly
styled in this case.