Documentation fixes
Fix crash in the example app
Close window after typed all text