finalized style changes, downloading now happens in new thread, code refactoring done as well