Get rid of dialog stuff for now. Added progress bar. Added tr to main class. Various other cleanups.