removed all unnecessary @synthesize
optimized render state stack
replaced more macro constants with extern constants