fixed styling in python- had to first initialize first 128 styles to default styles and later overwrite them with those from xml files. Also save As and manual change of language was causing problems with theme application they were all fixed