Added a plugin.
Improved function to remove whitespace at tail when saving file.