Merge overlapping regions outputted by page layout detection
Clear selection when switching pages
Don't allow multiplage recognition when there are selections
Update TODO