slate.js: More debugging, TODOs