Fixed warnings and more:

Fixed warning given by XslTransform. Using new XslCompiledTransform.
Fixed stylesheet browsing dialog which was broken since 22nd May 2010.
Some coding style changes.