Added syncing between TE and GUI. Works mostly, though only syncs the second time you open the GUI after changing it.