prefer static resources over dynamic.
use windows form for hidden window