- add remote-debugger code
- cleanup of logging statements