clean up decreasingly useful code
try to catch errors more often than we do now
handle stack traces for errors
Stupid WebKit and Blink can't clone documents, bah
overlay stuck if modal opened when modal; bad reference for browsers that don't support a@download