Use bindings in the sidebar

Hardcoded? Get the hell out of here.
Handle window resizing better

The key things I learned here:

* set the delegate for your window, don't just adopt the protocol
* call [openGlContext update]. Seriously.