Refactored NUbugger