Merge pull request #100 from valeriog-crytek/master

Some GL bug fixes
Serialize glUniform* to the current program resource record as glProgramUniform* while in idle state.
Reduce thread spawning in python script trace callback and highlight the line where an exception happens.