Revert "removes unused whitespace stripping functionality"

This stuff is set dynamically from a desktop panel property.

This reverts commit 37247e4df7637535ced4453fd610738760538ec7.