Added loading progress meter. Refactored resuming functionality.