Add lots of docs

First step towards #114
Maybe: "returns true if this framebuffer is associated with the main window"