Merge pull request #709 from houqp/new_ui_houqp

couple of enhancements to crengine
Merge branch 'new_ui_code' of github.com:hwhw/kindlepdfviewer into new_ui_houqp