Fixed some nasty bugs that had escaped notice earlier.

To do with me NOT global variables which resulted in the AddOns menu not working (fixed in prev commit) and affected the saving of existing files.
Merge branch 'testing' of github.com:rakheshster/Set-PSISEEncoding into testing

Conflicts:
	Set-PSISEEncoding.ps1
Bug fixes.