Fixed bugs with polling and terminating processes
Merge branch 'IGIntegration' into examples
added automatic scaling to the browser window inner width and height