Fixed all layers being reshown when switching away from page; improved PDF searching; improved find dialog behaviour