Added more coverage tests, fixed some bugs.
WIP: Generate coverage when map view region changes.