Better argument parsing
Added HTML output feature
Added tentative Python 2 support