Gane wins main event at UFC Fight Night