convert to ARC

I also fixed the issues with the image cache by just using `QSResourceManager`. Hell, everything else uses it. :metal: