Some changes in the URL handling. There are some problems with deferred
instantiation of visual classes and style setting.