little refactoring; showing progress bar for initial loading; added loading defaults from server