Some updates for w3m mode