Port usage of QString and various miscellaneous imports that no longer work