logger.debug(classToInstantiate + " is the class instatiated by PApplet class.");
//FIXME TEST
if (showSettingsMenu){
settingsLoadedFromFile = true;
SettingsMenu menu = new SettingsMenu(classToInstantiate);
menu.setVisible(true);
}else{
getSettingsFromFile();
// Launch processing PApplet main() function
if (MT4jSettings.getInstance().isFullscreen()){