Correct paths in directory variables: MAINMENU_DIR, THIS_DIR to generic paths