Cleanup and disable download button at the beginning (enable it when a layer is chosen from the layerswitch)
Create better name for download, preserving the fileextension