added documentation for the window callback
Merge remote-tracking branch 'origin/dev' into dev