Add asserts
Merge branch 'workshop' of https://github.com/MrKepzie/Natron into workshop
The begin/end render count is thread local storage!!