Fixed warnings and more:

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