Initialize History lazily, make it work without Readline