Test 817

* Restores Forge compat.
* Fixes wrong variable return for active GUI.