I don't think that there is a generically good way of doing a master thesis (nor of doing research in general). Though frightening, research (like other creative activities) evolves in unpredictable ways, and each research project has its own story. I will tell a few such stories, and naturally I will rely on stories I know from the inside (or close to that). The only lesson that I can offer is maintaining an openness towards ideas that may emerge.
Available online
Back to Oded's page of essays and opinions or to Oded's homepage.