Fixed. The new code is on the svn. The bug was in the Browser class. The root tag of each page rendered didnt have the right theme values set to it. This resulted to the observed behavior.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Fixed. The new code is on the svn. The bug was in the Browser class. The root tag of each page rendered didnt have the right theme values set to it. This resulted to the observed behavior.