add recursive copy of resources
add css to resources
improve templates
improve html export
improve export gui