There's 2 readonly variables in Graal which can be useful to you: screenwidth and screenheight. You can use these 2 in a GuiControl
PHP Code:
// A GuiControl that is in the center of the screen, regardless of the size/resolution of the screen
new GuiControl("blah") {
width = 500;
height = 400;
x = (screenwidth / 2) - (width / 2)
y = (screenheight / 2) - (height /2)
}