GWindow is now a singleton. Possibility to provide a custom render function and to clear the GWindow.