Choose a narrow, well-defined topic that branches out in a new direction. Try not to pick a topic that is too out-there, as it will be hard to generate interest in your thesis. Marketability is subject to change, so don't feel obligated to choose a thesis topic that reflects the latest craze in your field.