Bugfix: Issues #6 & #7.  Refactored and fixed dialog issue with
downloadQueue.js.  Also fixed an issue where the template was undefined
for a function in utility.js.  Moved the function to commonControls.js.