Unify openDialog() arguments
+ fix indentation
Lazy load funcs.js and winUtils.js to improve startup performance
(draft for #9 and #10)
Simplify _info() and _log() and append timestamp to console message