Fixed undefined score in Tetris example.
Added basic trait support. Added ternary operator support. Switch/cases improvements.