fix look prev/next buttons in the doc browser
Better error checking for editor args

Fix #20