tryed to fix the stable master...tested on my server

The GUI for the stable master opens now but you can't put any pet in the free slots...I hope someone can do the rest to fix it completely so the stable masters can get used. Oh and don't be angry with me when I broke something...I'm not a good scripter or core-developer and I have no real experience with that so this is more learning by doing work. :3

thanks in advance!