Remove duplicated code.
Fix zooming and printing.
Reimplement case sensitive and whole word search.