Add additional div settings and tests for new.
Updating properties before use of mvals to work around a startup bug where afterPropertiesSet not being called.
Clean up temporary thumbnail file.