added server gui and bug fixes