Remove unused include and untabify.
Use lexical_cast.
Make wdg-html-validator happy.
typedef enum {} type -> enum type {}.
Fix a weird bug.
API docs.