Added progress bars, persistent DOM elements + refactor