dot matrix works, other minor improvements
improved HTML table functions. still issues with labelling the leftmost column