Reinsert --no-browser option. Move code to utils.main. Some other small style changes. Move get_default_local_path function to finish the gui stuff. Fix merge conflict misstake.