added export icons/actions

Not connected to anything yet.
Also, quick html gen refactoring.