Recent trends and fundamental insights in the methanol-to-hydrocarbons process