Try joining the class serverside. If you join it clientside, the thread isn't halted to wait for the class to be joined.
PHP Code:
function onCreated() {
this.join("gladeious_guiprofiles");
}
//#CLIENTSIDE
function onCreated()
{
GetProfiles();
new GuiWindowCtrl("Example_Window_1")
{
//...
Also, code is a lot more readable if you use [PHP] tags instead of HTML ones

.
EDIT: Also, a couple other things I noticed:
First, when you create profiles, you're setting variables in that profile, so you don't need to be setting the variables on the inexistent 'profile' object - it actually won't work this way.
Instead, do this:
PHP Code:
new GuiWindowProfile("Gladeious_Window")
{
bitmap = "gladeius_gui_window.png";
}
This goes for all of the profiles.
Secondly, profiles aren't strings, they're objects. Unfortunately, Gscript allows you to set profiles with quotes around them, but it's not proper syntax and Inverness will eat you alive.
PHP Code:
profile = Gladeious_Window;