Changed tabs into spaces and removed unnecessary tailing spaces in plugin.

No logic has been changed/affected by this merge.