various fixes and features in koreader-base