fix code review comments: hide advanced options by default, add missing semi-colon, remove duplicate TODO