 [BUGFIX] Downgrade string comparing function for PHP 7.4
 [BUGFIX] Check if BE_USER is set before restricting modules
 [TASK] Some streamlining of the code
 [FEATURE] Add PHP 8.1 support (thx to Markus Goldbach)