GTK and QT corrupted and crashed

While compiling qemu to run ReactOS in 32-bit in order to get old educational games from running. The main gui says the system cannot recover but pressing ctrl-alt-f3 gave me a functioning shell with internet access. apt update gives me several errors about gtk and something about i386 not supported oddly enough, since no binaries should be 32-bit other than the Cluefinders game, Not even the ReactOS iso, which is still the same iso I used to test 64-bit ReactOS. Whenever I try loading a gui program it outputs an error that either GTK or QT failed to initialize. Nevertheless, I was able to finish compiling QEMU with --enable-gtk after the crash.