Made appsPerRow and numberOfAppsToLoad configurable
and adaptable to HDPI