Add some F4 config code, rewritten to take advantage of the new Unity Engine features (mainly about memory leaks) and structure (with NO GLOBAL VARIABLES)