Some old and new patches

7314944: it's been posted to devel 4 years ago and I was told that it would be better to make one in jQuery. Nobody did this since then, so please reconsider.
7380389: just an useful idea
16a5f10, 087ecfd, 699e8e8, 948cf6c, ad795f8, 5b36ae5, d6f81ef: Blue/Green theme complement
1db14ba, 1931892: reliable xtree state saving
b55670b, f519130: self-explanatory