GUI update + HTML generation