When I go to the control panel, I see X2 and X3 still listed. Can I uninstall these without causing problems in X4?
Maybe. But the safest, is to uninstall them all - ensuring you don’t have any edited files you might want to keep (styles, connections, libraries) in the program folder. Then reinstall a clean copy of X4.