Add window example, tweaks and more documentation

Minimize/Maximize may be to the example setting the size, check into
this later