Removed major Qt dependencies on image loading