Fix crash and assembly translation in debugger + very minor refactoring