Not working. :( Gotta test this tomm. Not sure if its a PowerShell 3.0 thing or the code got broken in general. Turns out none of my newly created files were getting saved in the $preferredEncoding!
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.
No changes.