Grid IDs work with paging

Status footer works on docs and edit docs pages. Fixed bug in database
selection screen.