Changes for creating a custom compound view: ReaderView. also added
progress dialog