Switched favicon loading method

Maybe fixes some problems, version not finished yet (and not published)