fix newlines
implement F9 (hide/show menu bar) for ebook window