Style improvements
Retrive pixelformat from png loader