Fix copyright notice.
Some var renaming
Work on adding a render window.

Note that render result isn't shown properly yet.