Results 2 issues of cats studio

This fixes some problems and makes it more compatible with other libraries.

Pls Add OpenGL support