remove database queries for page highlighting from ui thread and from imageview.  refactoring and cleanup.  fixes #176.