More finegrained locking around thumbnail generator
Avoid some insane stack allocation in XML parser
Add support for sorting on filename and date when browsing over UPNP