network: add constent variables
grub2: fix issue, getPrimaryScreenBestResolution()