Minor performance fixes
Trying to auto-detect pac encoding
Fixed version number of Romanian language file
Better error messages when saving a file fails - thx Andrew  :)
Small corrections. Improved consistency. Fixed typos.