Fix php 8.1 compatibility, and remove redundant html escaping
Update type hinting to php7+
Force global namespace for functions which are known to be optimizable to bytecode in php, or known global functions to avoid a current namespace lookup for the function.
Use font-awesome icon instead of a png for add-on icon