added support for multiple view windows, hasnt been confirmed to work
reasonably stable, starting core refactor
Merge branch 'master' into eglsupport

Replacing contents of master because the changes there are incompatible with the advances made in this branch