Revert "Indenting in background thread added"

This reverts commit 2a673e75021e15af6f51e90bfb13a6a93bb73e0a.
Stripping of spaces before indenting