Parse options into settings dialog and ouput options back.