bugfix: calculate current config value or arg at runtime
add screen mode restoration for each document
check screen mode in koptinterface
cleanup: use postInitCallback to restore screen mode
cleanup: use screen size in page hash explicitly
Merge pull request #741 from chrox/new_ui_code

bugfix: calculate current config value or arg at runtime
bug fix: reader crashes when table of content is empty
Merge pull request #742 from houqp/new_ui_houqp

bug fix: reader crashes when table of content is empty