Fix bug.
Refactoring.
Add w3m functions.