Added error callback

- added error callback on atlas full, scratch mem full, and state stack
under/overflow
- preparing to more debug rendering, added white rect @ 0,0