Updated code

All checks are now looking for installed packages. In case when  there are multiple packages as a part of a group (for example games) and one of the packages is missing when GUI is relaunched, group will show up as 'Not Installed'.