fix problems reported by findbugs
fix a small error, where the change of metadata were not shown when status and privileges were changed in the same revision
add back some css that was removed by accident in the previous commit