add debug toolbar and debugger (fixes #3)