Working themes kinda!!!
ignore style refs
XML parsing improvements.