new improved logging system (also bugfix)
stub REPL, with user-definable prompts