Allow repairing from the control panel

Based on TortoiseSVN rev. 25940.

Signed-off-by: Sven Strickroth <email@cs-ware.de>