Documents module: bug and UI fixes.
UI fixes.