Actually fix GUIs not appearing. Also includes backwards compatibility.

This should fix it for good, sorry :P