Attempt to fix the opening of menus (GUI) after reconnecting when using some forks like PaperMC 1.18.2 (thanks to @Winter_Plays, @ThatGuyAJ, @PolakMichal and Evalutik for reporting it).
Fixed the data update mechanism that was triggered for new fresh installations.
(Added a simple command to configure logs for debugging purpose)