speed up and better rendering
writeSettings seems unneeded
platform : utility constructor