Refactoring MainWindow and GLWindow classes, cleaning DisplayGroupManager

Change-Id: I2147a93ce5b9122bb03c49d428b4ea40d499ecdc