Added gui and created window settings