Refactor controller logic out of windows
Eval default text

Avoid depending on an external example text and diagram
Add copyright header to controller module
Merge branch 'master' into py2app