Changed the whitespace stripping to occur on insert leave.
Tabbing out while in insert mode was triggering the change which was a
bit annoying