Add history traversal and page up/down.

Also make all defined functions run in pcall and unpack arguments.
Updated screenshot.
Fix broken print to system console.
Merge remote-tracking branch 'origin/master'