Working on GUI

finished RenderWindow
Fix in the morning

fix calling js functions