Fixed syntax error in menu and settings, fixed newline replacement in non-method class code