Cleaned up UI. Added document preview directive to document icon.