Windowing tweaks and documentation.