Added LICENSE.
Progress window hides on close.
Added preferences window.