Added array utility to dispose an array.
Moved task dialog implementation to INiShell and removed the message box methods.