added icon support for resource-based and base64 icons in tree widget