Mining now works.
Improved the quality of the codebase (remove xmlhttprequest, .innerHTML, <font>, etc.)