Add null-pointer check

Based on TortoiseSVN revision #25836.

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Avoid a possible division-by-zero, and cast to a double to avoid premature precision loss

Based on TortoiseSVN revision #25839.

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Fix possible resource leak

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Do not build crash handler or CustomActions in debug configuration by default

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Do not build cache test tool in release configuration by default

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

Tortoise.pot should stay LF only. Mixed EOL introduced in commit ed8c6f5c45733723b1af3d6645cb38412e963151.

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