Fixed gui and added setCoords()