glfw3: Various fixes

* Fix ownership when returning compact classes
* Fix nullability
* Make VideoMode a compact class
* Fix some annotation issues